home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000181_Petri_member@newsguy.com_Sun Apr 11 13:54:11 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
  2. From: Petri <Petri_member@newsguy.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: FTP with Auth SSL
  5. Date: 11 Apr 2004 10:28:35 -0700
  6. Organization: Newsguy News Service [http://newsguy.com]
  7. Lines: 64
  8. Message-ID: <c5bv8301ck0@drn.newsguy.com>
  9. NNTP-Posting-Host: p-402.newsdawg.com
  10. X-Newsreader: Direct Read News 4.20
  11. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14894
  12.  
  13. Hi everyone,
  14.  
  15. I am writing a kermit script that will login on a few FTP-servers that demand
  16. "Auth SSL" authentication (that's what it's called in my normal FTP client
  17. anyway), and perform some ftp operations there before exiting.
  18. The FTP-servers all use selfsigned certificates.
  19. They are all glftpd, running on Linux.
  20.  
  21. All ftp site commands work fine, as they get their responses via the control
  22. session.
  23. But the file transfers immediately fail.
  24. Here is an example of the error message I recieve:
  25. ---8<---
  26. (/home/petri/) C-Kermit>ftp dir
  27. ---> TYPE A
  28. 200 Type set to A.
  29. ---> PASV 
  30. 227 Entering Passive Mode (127,0,0,1,138,84)
  31. ---> LIST 
  32. 150 Opening ASCII mode data connection for directory listing.
  33. ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3
  34. alert illegal parameter
  35. (/home/petri/) C-Kermit>exit
  36. ---> QUIT 
  37. 435 Failed TLS negotiation on data channel, disconnected: No such file or
  38. directory.
  39. ---8<---
  40.  
  41. The "No such file or directory" part that appears after I quit the kermit
  42. session, sounds pretty bad.
  43.  
  44. Why is it failing a "TLS negotiation", when I explicitly ask for SSL?
  45. Maybe the TLS part isn't important, as "Auth TLS" works too on this particular
  46. FTP-server.
  47.  
  48. I am running "C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0", on Redhat
  49. 9, and the kermit version is what was shipped with the OS.
  50.  
  51. Here is the script I tried the above with:
  52. ---8<---
  53. set auth ssl certs-ok
  54. set ftp authtype ssl
  55. set ftp autologin off
  56. set ftp command-protection-level confidential
  57. set ftp data-protection-level confidential
  58. set ftp debug on
  59. set ftp verbose-mode on
  60. set ftp passive-mode on
  61. set ftp filenames literal
  62. set transfer display off
  63. ftp localhost 21000
  64. if fail exit 1 FTP connection failed
  65. ftp user username password
  66. if fail exit 1 FTP login failed
  67. ---8<---
  68.  
  69. Can someone tell me what is wrong?
  70. Is something missing on my system, or is it simply a config issue I have missed
  71. in kermit?
  72. Many thanks in advance for all suggestions.
  73.  
  74.  
  75. Petri
  76.